import { ICartReturn } from '@/views/goods/types';

export interface CartItemProps {
    cart: ICartReturn;
    changeNum?: (id: string, num: number) => void;
    selectItem?: (id: string, value: boolean) => void;
    showSelect?: boolean;
}
export type CartContainerProps = Omit<CartItemProps, 'cart'> & {
    cartList: ICartReturn[];
    selectAll?: (e: any) => void;
};
export interface FooterProps {
    totalPrice: number;
    settlement: () => void;
    title: string;
    isDisabled?: boolean;
}
